<aside class="right-side">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            Change Your Password

        </h1>
        <ol class="breadcrumb">
            <li><a href="<?php echo base_url() ?>/dashboard"><i class="fa fa-dashboard"></i> Home</a></li>

            <li class="active">Change Your Password</li>
        </ol>
    </section>
    <section class="content">
        <div class="row"> 
            <div class="col-md-12">                
                <div class="box box-primary">
                    <div class="box-header">
                         <?php  $msg=$this->session->flashdata('msg');
                                           if($msg!='') { ?>
                                               <div class="alert alert-danger alert-dismissable">
                                        <i class="fa fa-ban"></i>
                                        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                                        <b>Alert!</b><?php echo "$msg" ?>
                                    </div>
                                         <?php  } ?>

                    </div><!-- /.box-header -->
                    <!-- form start -->
                    <form role="form" action="" method="post">
                        <div class="box-body">
                            <div class="form-group">
                                <label for="exampleInputPassword1">Old Password</label>
                                <input type="password" name="oldpassword" class="form-control" id="exampleInputPassword1" placeholder="Old Password" required="true">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword1">New Password</label>
                                <input type="password" name="newpassword" class="form-control" id="exampleInputPassword1" placeholder="New Password" required="true">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword1">Confirm Password</label>
                                <input type="password" name="confirmpassword" class="form-control" id="exampleInputPassword1" placeholder="Confirm Password" required="true">
                            </div>
                        </div><!-- /.box-body -->

                        <div class="box-footer">
                            <button type="submit" name="submit" class="btn btn-primary">Submit</button>
                            <a href="<?php echo base_url() ?>/dashboard" class="btn btn-primary">cancel</a>
                            
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </section>